package com.peach.springbootdemo.demo.service;

import com.peach.springbootdemo.demo.model.Message;

import java.util.List;

/**
 * @author peacher
 * @date 2019-08-03
 */
public interface MessageService {

    List<Message> findAll();

    Message save(Message message);

    Message update(Message message);

    Message updateText(Message message);

    Message findMessage(Long id);

    void deleteMessage(Long id);

}
